LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
get< T[], dim > Struct Template Reference

Getter specialization for compile-time sized arrays, does bounds checking. More...

#include <type_operators.hpp>

Public Member Functions

 static_assert (dim > 0,"Dimension less than one passed to getter")
 static_assert (std::is_floating_point< T >::value,"Non floating-point type used with standard getter")

Static Public Member Functions

template<size_t N>
static T & pull (T(&array)[N])

Detailed Description

template<class T, int dim>
struct get< T[], dim >

Getter specialization for compile-time sized arrays, does bounds checking.

Definition at line 43 of file type_operators.hpp.

Member Function Documentation

template<class T , int dim>
template<size_t N>
static T& get< T[], dim >::pull ( T(&)  array[N])
inlinestatic

Definition at line 47 of file type_operators.hpp.

Here is the call graph for this function:

template<class T , int dim>
get< T[], dim >::static_assert ( dim  ,
,
"Dimension less than one passed to getter"   
)
template<class T , int dim>
get< T[], dim >::static_assert ( std::is_floating_point< T >::value  ,
"Non floating-point type used with standard getter"   
)

The documentation for this struct was generated from the following file: